//
//  ZCQuickLoginButton.m
//  ZCBaiSi
//
//  Created by zc on 16/7/8.
//  Copyright © 2016年 zc. All rights reserved.
//

#import "ZCQuickLoginButton.h"

@implementation ZCQuickLoginButton

- (void)awakeFromNib{
    [super awakeFromNib];
    self.titleLabel.textAlignment = NSTextAlignmentCenter;
}

- (void)layoutSubviews{
    [super layoutSubviews];
    self.imageView.zc_y = 0;
    self.imageView.zc_centerX = self.zc_width * 0.5;
    self.titleLabel.zc_x = 0;
    self.titleLabel.zc_y= self.imageView.zc_bottom;
    self.titleLabel.zc_height = self.zc_height - self.titleLabel.zc_y;
    self.titleLabel.zc_width = self.zc_width;
}

@end
